<%--
  Created by IntelliJ IDEA.
  User: 86138
  Date: 2021/9/17
  Time: 17:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="panel-heading">密码修改</div>
<form id='myform' class="form-horizontal"
      action="userServlet?method=editPassword" method="post">
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label"
               required="required">原来的密码</label>
        <div class="col-sm-10">
            <input type="password" name="oldPassword"
                   class="form-control" id="inputPassword1" required="required"
                   placeholder="Password">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">新的密码</label>
        <div class="col-sm-10">
            <input type="password" name="password" class="form-control"
                   required="required" id="inputPassword2"
                   placeholder="Password">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">确认新密码</label>
        <div class="col-sm-10">
            <input type="password" name='repassword' class="form-control"
                   required="required" id="inputPassword3"
                   placeholder="Password">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary">提交</button>
        </div>
    </div>
</form>
</body>
</html>
